package com.fs.alert.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("detection")
public class Detection {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long alertId;
    private LocalDateTime detectionTime;
    private Integer count;
    private String location;
}